#pragma once
#include "Object.h"
#include <list>
using namespace std;
class Sprite;
class ScubaSoldierBullet;
class UFOs;
class AntiGravityShutter : public Object
{
	Sprite* _appear;
	Sprite* _disappear;
	Sprite* _waiting;
	float* _posY;
	int _index;
	bool _hide;
	float _delayNextSprite;
	float _delayAttack;
	D3DXVECTOR2 _posBullet;
	D3DXVECTOR2 _posUFO;
	int _dx;
	float _vx;
public:
	AntiGravityShutter(Box* box);
	~AntiGravityShutter(void);

	void update();
	void setPosition();
	void attack();
	void render();

	virtual Box* getCollisionBox();

};

